import request from '@/utils/request'

// API接口定义
export default {
    // 获取景点列表
    getAttractions(params) {
        return request.post('/attractions/list_data', params)
    },

    // 获取携程景点列表
    getCtripAttractions(params) {
        return request.post('/attractions/list', params)
    },

    // 获取筛选条件
    deleteAttraction(poId) {
        return request.delete(`/attractions/delete/${poId}`)
    },

    // 获取区域列表
    getDistricts() {
        return request.get('/attractions/districts')
    },
}